package com.kkks.spring_rest.tick.model;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;

/**
 * AbstractWhoOrderGoods entity provides the base persistence definition of the
 * WhoOrderGoods entity. @author MyEclipse Persistence Tools
 */
@MappedSuperclass
public abstract class AbstractWhoOrderGoods implements java.io.Serializable {

	// Fields

	private Integer recId;
	private Integer orderId;
	private Integer goodsId;
	private String goodsName;
	private String goodsSn;
	private Short goodsNumber;
	private Double goodsPrice;
	private Double inPrice;
	private String skuValue;
	private String skuId;
	private Short ogStat;
	private Integer ogStarttime;
	private Short ogPaystat;
	private Short suppNumber;
	private Short isReplace;
	private String branch;
	private String batch;
	private Integer scanNum;
	private Boolean scanState;
	private String orderShelfSn;
	private Integer orderScanNum;
	private Integer gmtCreated;
	private Integer grouponGoodsId;
	private Boolean goodsStatus;
	private Integer goodsIntegral;
	private String suppCode;
	private String easId;
	private Boolean isShow;
	private Boolean orderGoodsStatus;
	private String closeReason;
	private Integer goodsSendNum;
	private Short isGenerateBarcode;
	private String engineerCode;
	private Integer goodsPrize;

	// Constructors

	/** default constructor */
	public AbstractWhoOrderGoods() {
	}

	/** minimal constructor */
	public AbstractWhoOrderGoods(Integer orderId, Integer goodsId,
			String goodsName, String goodsSn, Short goodsNumber,
			Double goodsPrice, String skuValue, String skuId, Short ogStat,
			Integer ogStarttime, Short ogPaystat, Short suppNumber,
			Short isReplace, Integer grouponGoodsId, Boolean goodsStatus,
			Boolean isShow, Boolean orderGoodsStatus, String closeReason,
			Integer goodsSendNum, Short isGenerateBarcode, String engineerCode) {
		this.orderId = orderId;
		this.goodsId = goodsId;
		this.goodsName = goodsName;
		this.goodsSn = goodsSn;
		this.goodsNumber = goodsNumber;
		this.goodsPrice = goodsPrice;
		this.skuValue = skuValue;
		this.skuId = skuId;
		this.ogStat = ogStat;
		this.ogStarttime = ogStarttime;
		this.ogPaystat = ogPaystat;
		this.suppNumber = suppNumber;
		this.isReplace = isReplace;
		this.grouponGoodsId = grouponGoodsId;
		this.goodsStatus = goodsStatus;
		this.isShow = isShow;
		this.orderGoodsStatus = orderGoodsStatus;
		this.closeReason = closeReason;
		this.goodsSendNum = goodsSendNum;
		this.isGenerateBarcode = isGenerateBarcode;
		this.engineerCode = engineerCode;
	}

	/** full constructor */
	public AbstractWhoOrderGoods(Integer orderId, Integer goodsId,
			String goodsName, String goodsSn, Short goodsNumber,
			Double goodsPrice, Double inPrice, String skuValue, String skuId,
			Short ogStat, Integer ogStarttime, Short ogPaystat,
			Short suppNumber, Short isReplace, String branch, String batch,
			Integer scanNum, Boolean scanState, String orderShelfSn,
			Integer orderScanNum, Integer gmtCreated, Integer grouponGoodsId,
			Boolean goodsStatus, Integer goodsIntegral, String suppCode,
			String easId, Boolean isShow, Boolean orderGoodsStatus,
			String closeReason, Integer goodsSendNum, Short isGenerateBarcode,
			String engineerCode, Integer goodsPrize) {
		this.orderId = orderId;
		this.goodsId = goodsId;
		this.goodsName = goodsName;
		this.goodsSn = goodsSn;
		this.goodsNumber = goodsNumber;
		this.goodsPrice = goodsPrice;
		this.inPrice = inPrice;
		this.skuValue = skuValue;
		this.skuId = skuId;
		this.ogStat = ogStat;
		this.ogStarttime = ogStarttime;
		this.ogPaystat = ogPaystat;
		this.suppNumber = suppNumber;
		this.isReplace = isReplace;
		this.branch = branch;
		this.batch = batch;
		this.scanNum = scanNum;
		this.scanState = scanState;
		this.orderShelfSn = orderShelfSn;
		this.orderScanNum = orderScanNum;
		this.gmtCreated = gmtCreated;
		this.grouponGoodsId = grouponGoodsId;
		this.goodsStatus = goodsStatus;
		this.goodsIntegral = goodsIntegral;
		this.suppCode = suppCode;
		this.easId = easId;
		this.isShow = isShow;
		this.orderGoodsStatus = orderGoodsStatus;
		this.closeReason = closeReason;
		this.goodsSendNum = goodsSendNum;
		this.isGenerateBarcode = isGenerateBarcode;
		this.engineerCode = engineerCode;
		this.goodsPrize = goodsPrize;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "rec_id", unique = true, nullable = false)
	public Integer getRecId() {
		return this.recId;
	}

	public void setRecId(Integer recId) {
		this.recId = recId;
	}

	@Column(name = "order_id", nullable = false)
	public Integer getOrderId() {
		return this.orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	@Column(name = "goods_id", nullable = false)
	public Integer getGoodsId() {
		return this.goodsId;
	}

	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}

	@Column(name = "goods_name", nullable = false, length = 120)
	public String getGoodsName() {
		return this.goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	@Column(name = "goods_sn", nullable = false, length = 60)
	public String getGoodsSn() {
		return this.goodsSn;
	}

	public void setGoodsSn(String goodsSn) {
		this.goodsSn = goodsSn;
	}

	@Column(name = "goods_number", nullable = false)
	public Short getGoodsNumber() {
		return this.goodsNumber;
	}

	public void setGoodsNumber(Short goodsNumber) {
		this.goodsNumber = goodsNumber;
	}

	@Column(name = "goods_price", nullable = false, precision = 10)
	public Double getGoodsPrice() {
		return this.goodsPrice;
	}

	public void setGoodsPrice(Double goodsPrice) {
		this.goodsPrice = goodsPrice;
	}

	@Column(name = "in_price", precision = 10)
	public Double getInPrice() {
		return this.inPrice;
	}

	public void setInPrice(Double inPrice) {
		this.inPrice = inPrice;
	}

	@Column(name = "sku_value", nullable = false, length = 256)
	public String getSkuValue() {
		return this.skuValue;
	}

	public void setSkuValue(String skuValue) {
		this.skuValue = skuValue;
	}

	@Column(name = "sku_id", nullable = false, length = 100)
	public String getSkuId() {
		return this.skuId;
	}

	public void setSkuId(String skuId) {
		this.skuId = skuId;
	}

	@Column(name = "og_stat", nullable = false)
	public Short getOgStat() {
		return this.ogStat;
	}

	public void setOgStat(Short ogStat) {
		this.ogStat = ogStat;
	}

	@Column(name = "og_starttime", nullable = false)
	public Integer getOgStarttime() {
		return this.ogStarttime;
	}

	public void setOgStarttime(Integer ogStarttime) {
		this.ogStarttime = ogStarttime;
	}

	@Column(name = "og_paystat", nullable = false)
	public Short getOgPaystat() {
		return this.ogPaystat;
	}

	public void setOgPaystat(Short ogPaystat) {
		this.ogPaystat = ogPaystat;
	}

	@Column(name = "supp_number", nullable = false)
	public Short getSuppNumber() {
		return this.suppNumber;
	}

	public void setSuppNumber(Short suppNumber) {
		this.suppNumber = suppNumber;
	}

	@Column(name = "is_replace", nullable = false)
	public Short getIsReplace() {
		return this.isReplace;
	}

	public void setIsReplace(Short isReplace) {
		this.isReplace = isReplace;
	}

	@Column(name = "branch", length = 10)
	public String getBranch() {
		return this.branch;
	}

	public void setBranch(String branch) {
		this.branch = branch;
	}

	@Column(name = "batch", length = 10)
	public String getBatch() {
		return this.batch;
	}

	public void setBatch(String batch) {
		this.batch = batch;
	}

	@Column(name = "scan_num")
	public Integer getScanNum() {
		return this.scanNum;
	}

	public void setScanNum(Integer scanNum) {
		this.scanNum = scanNum;
	}

	@Column(name = "scan_state")
	public Boolean getScanState() {
		return this.scanState;
	}

	public void setScanState(Boolean scanState) {
		this.scanState = scanState;
	}

	@Column(name = "order_shelf_sn", length = 50)
	public String getOrderShelfSn() {
		return this.orderShelfSn;
	}

	public void setOrderShelfSn(String orderShelfSn) {
		this.orderShelfSn = orderShelfSn;
	}

	@Column(name = "order_scan_num")
	public Integer getOrderScanNum() {
		return this.orderScanNum;
	}

	public void setOrderScanNum(Integer orderScanNum) {
		this.orderScanNum = orderScanNum;
	}

	@Column(name = "gmt_created")
	public Integer getGmtCreated() {
		return this.gmtCreated;
	}

	public void setGmtCreated(Integer gmtCreated) {
		this.gmtCreated = gmtCreated;
	}

	@Column(name = "groupon_goods_id", nullable = false)
	public Integer getGrouponGoodsId() {
		return this.grouponGoodsId;
	}

	public void setGrouponGoodsId(Integer grouponGoodsId) {
		this.grouponGoodsId = grouponGoodsId;
	}

	@Column(name = "goods_status", nullable = false)
	public Boolean getGoodsStatus() {
		return this.goodsStatus;
	}

	public void setGoodsStatus(Boolean goodsStatus) {
		this.goodsStatus = goodsStatus;
	}

	@Column(name = "goods_integral")
	public Integer getGoodsIntegral() {
		return this.goodsIntegral;
	}

	public void setGoodsIntegral(Integer goodsIntegral) {
		this.goodsIntegral = goodsIntegral;
	}

	@Column(name = "supp_code", length = 50)
	public String getSuppCode() {
		return this.suppCode;
	}

	public void setSuppCode(String suppCode) {
		this.suppCode = suppCode;
	}

	@Column(name = "eas_id", length = 32)
	public String getEasId() {
		return this.easId;
	}

	public void setEasId(String easId) {
		this.easId = easId;
	}

	@Column(name = "is_show", nullable = false)
	public Boolean getIsShow() {
		return this.isShow;
	}

	public void setIsShow(Boolean isShow) {
		this.isShow = isShow;
	}

	@Column(name = "order_goods_status", nullable = false)
	public Boolean getOrderGoodsStatus() {
		return this.orderGoodsStatus;
	}

	public void setOrderGoodsStatus(Boolean orderGoodsStatus) {
		this.orderGoodsStatus = orderGoodsStatus;
	}

	@Column(name = "close_reason", nullable = false)
	public String getCloseReason() {
		return this.closeReason;
	}

	public void setCloseReason(String closeReason) {
		this.closeReason = closeReason;
	}

	@Column(name = "goods_send_num", nullable = false)
	public Integer getGoodsSendNum() {
		return this.goodsSendNum;
	}

	public void setGoodsSendNum(Integer goodsSendNum) {
		this.goodsSendNum = goodsSendNum;
	}

	@Column(name = "is_generate_barcode", nullable = false)
	public Short getIsGenerateBarcode() {
		return this.isGenerateBarcode;
	}

	public void setIsGenerateBarcode(Short isGenerateBarcode) {
		this.isGenerateBarcode = isGenerateBarcode;
	}

	@Column(name = "engineer_code", nullable = false, length = 30)
	public String getEngineerCode() {
		return this.engineerCode;
	}

	public void setEngineerCode(String engineerCode) {
		this.engineerCode = engineerCode;
	}

	@Column(name = "goods_prize")
	public Integer getGoodsPrize() {
		return this.goodsPrize;
	}

	public void setGoodsPrize(Integer goodsPrize) {
		this.goodsPrize = goodsPrize;
	}

}